package com.zq.im;

import android.app.Application;

import com.zq.im.utils.SharePreferenceUtils;

/**
 * Created by 张强 869518570@qq.com on 2020/8/17
 */
public class App extends Application {

    private static App app = null;

    public static String userId;

    @Override
    public void onCreate() {
        super.onCreate();
        app = this;
        userId = SharePreferenceUtils.getString("userId");
    }

    public static App getInstances() {
        return app;
    }


}
